<%@page contentType="text/html; charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>表达式实例1</title>
</head>
<body>
    <%!
    String url = "expHref.jsp";
%>
    <a href="<%=url %>">点击跳转</a>
    <form action="<%=url %>">
        <input type="submit" value="点击跳转">
    </form>
</body>
</html>